package com.xwyzsn.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xwyzsn.common.annotation.Excel;
import com.xwyzsn.common.core.domain.BaseEntity;

/**
 * 智能柜对象 stall
 * 
 * @author ruoyi
 * @date 2024-03-21
 */
public class Stall extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 智能柜ID  */
    private Long id;

    /** 智能柜名词 */
    @Excel(name = "智能柜名词")
    private String name;

    /** 柜格数量 */
    @Excel(name = "柜格数量")
    private Long number;

    /** 智能柜位置 */
    @Excel(name = "智能柜位置")
    private String location;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setNumber(Long number) 
    {
        this.number = number;
    }

    public Long getNumber() 
    {
        return number;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("number", getNumber())
            .append("location", getLocation())
            .toString();
    }
}
